package com.example.lance.textapp;

import android.graphics.Paint;

/**
 * Created by lance on 15/5/11.
 */
public class TextInfo {

    /**
     * 置顶
     */
    public static final int VALGIN_TOP = 3;
    /**
     * 居中
     */
    public static final int VALGIN_MEDIUM = 4;
    /**
     * 置底
     */
    public static final int VALGIN_BOTTOM = 5;

    public int mTextPosx = 0;// x坐标
    public int mTextPosy = 0;// y坐标
    public int mTextWidth = 0;// 绘制宽度
    public int mTextHeight = 0;// 绘制高度
    public int mFontHeight = 0;// 绘制字体高度
    public int mPageLineNum = 0;// 每一页显示的行数
    public int mFontColor = 0;// 字体颜色
    public int mAlpha = 0;// Alpha值
    public int mRealLine = 0;// 字符串真实的行数
    public int mCurrentLine = 0;// 当前行
    public int mTextSize = 0;// 字体大小
    public Paint.Align mAlgin = Paint.Align.LEFT;//左右对齐
    public VAlgin vAlgin = VAlgin.VALGIN_TOP;//上下对齐

    /**
     * 上下对齐enum
     */
    public enum VAlgin {
        VALGIN_TOP, VALGIN_MEDIUM, VALGIN_BOTTOM
    }

}
